package com.auto.sns.core.dao;

import java.util.List;
import java.util.Map;

import com.system.common.Page;
import com.auto.sns.core.domain.SnsCoreVote;
/**
 * : t_auto_sns_core_vote
 * 
 * 
 * @author Gen
 */
public interface ISnsCoreVoteDAO{
	/**
	 * @param bean
	 * @return
	 */
	SnsCoreVote insertSnsCoreVote(SnsCoreVote bean);
	/**
	 * @param scvoGuid
	 * @return
	 */
	boolean deleteSnsCoreVote(String scvoGuid);	
	/**
	 * @param bean
	 * @return
	 */
	SnsCoreVote updateSnsCoreVote(SnsCoreVote bean);	
	/**
	 * @param scvoGuid
	 * @return
	 */
	SnsCoreVote loadSnsCoreVote(String scvoGuid);
	/**
	 * @param param
	 * @param page
	 * @return
	 */
	List<SnsCoreVote> queryList(Map<String,Object> param,Page page);
	
	boolean updateReplyNum(String scvoGuid);
	
	boolean updateRecommendNum(String scvoGuid);
	
	boolean updateFavoriteNum(String scvoGuid);

}
